<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CambiarClave.aspx.cs" Inherits="CambiarClave" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link rel="stylesheet" href="Estilos.css" type="text/css">
</head>
<body MS_POSITIONING="FlowLayout" style="background-image:none; margin:0 auto;text-align:center">
		<FORM id="Form1" method="post" runat="server">
			<TABLE id="Table3" height="23" cellSpacing="1" cellPadding="1" width="359" align="center"
				>
				<TR>
					<TD>
						<asp:label id="lblMensaje" runat="server" Width="368px" CssClass="mensaje" Height="3px" Visible="False"></asp:label></TD>
				</TR>
			</TABLE>
			<TABLE id="Table4" cellSpacing="1" cellPadding="1" width="300" align="center" border="0">
				<TR>
					<TD>
						<asp:validationsummary id="ValidationSummary1" runat="server" Width="360px" CssClass="notification note-error"></asp:validationsummary></TD>
				</TR>
			</TABLE>
			<div class="borde" style="width:80%;">
			<TABLE class="content-box" id="Table1" cellSpacing="1" cellPadding="1" width="100%" align="center"	border="0">
				<TR>
					<TD class="toolbar" colspan="2">
						<asp:imagebutton id="btnAceptar" runat="server" ImageUrl="Images/bt-cambiocontrasena.gif" AlternateText="Guardar" OnClick="btnAceptar_Click"></asp:imagebutton>

						<asp:imagebutton id="btnCancelar" runat="server" ImageUrl="Images/bt-regresar.gif" AlternateText="Salir"
							CausesValidation="False" OnClick="btnCancelar_Click"></asp:imagebutton></TD>
				</TR>
				<TR>
					<TD class="line" colspan="2">&nbsp;</TD>
				</TR>
				<TR>
					<TD class="campo">Usuario:</TD>
					<TD class="fila1">
						<strong><asp:label id="lblNombre" runat="server"></asp:label></strong></TD>
				</TR>
				<TR>
					<TD class="campo">Nueva Clave:</TD>
					<TD class="fila1">
						<asp:textbox id="txtClave" runat="server" CssClass="box" Width="100px" TextMode="Password" ToolTip="Nueva Clave"
							MaxLength="8"></asp:textbox>
						<asp:comparevalidator id="cmpClave" runat="server" ErrorMessage="CompareValidator" Display="Dynamic" ControlToValidate="txtClave"
							ControlToCompare="txtConfirmarClave">*</asp:comparevalidator>
						<asp:regularexpressionvalidator id="regClave" runat="server" ErrorMessage="RegularExpressionValidator" Display="Dynamic"
							ControlToValidate="txtClave">*</asp:regularexpressionvalidator>
						<asp:requiredfieldvalidator id="reqClave" runat="server" ControlToValidate="txtClave" Display="Dynamic" ErrorMessage="RequiredFieldValidator">*</asp:requiredfieldvalidator></TD>
				</TR>
				<TR>
					<TD class="campo">Confirmar Nueva Clave:</TD>
					<TD class="fila1">
						<asp:textbox id="txtConfirmarClave" runat="server" Width="100px" CssClass="box" MaxLength="8"
							ToolTip="Confirmar Nueva Clave" TextMode="Password"></asp:textbox>
						<asp:regularexpressionvalidator id="regConfirmarClave" runat="server" ControlToValidate="txtConfirmarClave" Display="Dynamic"
							ErrorMessage="RegularExpressionValidator">*</asp:regularexpressionvalidator>
						<asp:requiredfieldvalidator id="reqConfirmarClave" runat="server" ControlToValidate="txtConfirmarClave" Display="Dynamic"
							ErrorMessage="RequiredFieldValidator">*</asp:requiredfieldvalidator></TD>
				</TR>
		</TABLE></div>

			<asp:placeholder id="PlaceHolderScript" runat="server"></asp:placeholder></FORM>
	</body>
</html>
